package version2;

import java.awt.Color;
import javax.vecmath.*;
import javax.media.j3d.*;

public class Tethered extends Vesicle
{
	public Tethered(float x, float y, float rad, int slice, float sliceWidth)
	{
		this.x = x;
		this.y = y;
		this.radius = rad;
		this.slice = slice;
		this.color = new Color3f(Color.RED);
		app = new Appearance();
		app.setMaterial(new Material(color, black, color, black, 1.0f));
		location = new Vector3f(this.x, this.y, slice * sliceWidth);
	}
}
